package com.gcorp.idealgas;

class AnimationTick
{
    private float currentTime;
    
    private float deltaTime;
    
    AnimationTick(float deltaTime)
    {
        this.currentTime = 0;
        this.deltaTime   = deltaTime;
    }
    
    public void update()
    {
        currentTime +=deltaTime;
    }
    public void reset()
    {
        currentTime = 0;
    }
    public float getCurrentTime()
    {
        return currentTime;
    }
}